<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width">
	<link href="<?php echo base_url(); ?>assets/images/favico.png" rel="shortcut icon" type="image/vnd.microsoft.icon" />
	<title><?php echo $title; ?></title>
	<meta name="keywords" content="<?php echo $keywords; ?>">   
	<meta name="description" content="<?php echo $description; ?>">
	<meta name="robots" content="index, follow"> 
	<meta name='Search Engines' content='www.google.com, www.google.com.vn, www.yahoo.com, www.bing.com' />
	<script type="text/javascript">
		_base_url = "<?php echo base_url(); ?>";
	</script>
	<!-- CSS -->
	<?php echo_asset_css(); ?>

	<!-- SCRIPT -->
	<?php echo_asset_js(); ?>


	<!--Boostrap Select-->
	<link rel="stylesheet" href="<?php echo base_url();?>assets/css/bootstrap-select.css">
	<script src="<?php echo base_url(); ?>assets/js/bootstrap-select.min.js"></script>

	<link rel="stylesheet" href="<?php echo base_url();?>assets/css/fullcalendar.print.css" media="print">
	<script src="<?php echo base_url(); ?>assets/js/ckeditor/ckeditor.js"></script>

</head>
<body>
	<div class="webpage">
		<div class="head-bar"></div>
		<div class="header container">
			<div class="row">
				<div class="col-md-2 logo"><a href="<?php echo base_url(); ?>"><img src="<?php echo asset_url() ?>images/logo.png" alt=""/></a></div>
				<div class="col-md-10">
					<?php
					$segment = strtolower($this->uri->segment(1));
					?>
					<a title="" class="mobile-nav-head mobile">Click to show menu <span class="glyphicon glyphicon-plus" aria-hidden="true"></a>
					<ul class="nav-bar">
						<li><a class="<?php if($segment == ''){ echo 'active'; }?>" href="<?php echo base_url(); ?>" title="">TRANG CHỦ</a></li>
						<li>
							<a class="<?php if($segment == 'gioi-thieu' || $segment == 'thanh-vien' || $segment == 'doi-tac'){ echo 'active'; }?>" href="#" title="Giới thiệu">GIỚI THIỆU <span class="glyphicon glyphicon-plus mobile" aria-hidden="true"></a>
							<ul class="sub-menu">
								<li><a href="<?php echo base_url()."gioi-thieu" ?>">HDVVN.COM</a></li>
								<li><a href="<?php echo base_url()."thanh-vien" ?>">Thành viên</a></li>
								<li><a href="<?php echo base_url()."doi-tac" ?>">Đối tác</a></li>
							</ul>
						</li>
						<li><a class="<?php if($segment == 'tin-tuc'){ echo 'active'; }?>" href="<?php echo base_url(); ?>tin-tuc" title="">TIN TỨC</a></li>
						<li>
							<a class="<?php if($segment == 'du-lich'){ echo 'active'; }?>" href="#" title="">DU LỊCH <span class="glyphicon glyphicon-plus mobile" aria-hidden="true"></a>
							<ul class="sub-menu">
								<?php foreach ($menuNews as $item) {?>
								<li><a href="<?php echo base_url()."du-lich/".$item->slug."-".$item->id ?>"><?php echo $item->name ?></a></li>
								<?php } ?>
							</ul>
						</li>
						<li>
							<a class="<?php if($segment == 'dich-vu-su-kien'){ echo 'active'; }?>" href="#" title="">DỊCH VỤ SỰ KIỆN<span class="glyphicon glyphicon-plus mobile" aria-hidden="true"></a>
							<ul class="sub-menu">
								<?php foreach ($menuService as $item) {?>
								<li><a href="<?php echo base_url()."dich-vu-su-kien/".$item->slug."-".$item->id ?>"><?php echo $item->name ?></a></li>
								<?php } ?>
							</ul>
						</li>
						<li>
							<a class="<?php if($segment == 'dich-vu-khac'){ echo 'active'; }?>" href="#" title="">DỊCH VỤ KHÁC<span class="glyphicon glyphicon-plus mobile" aria-hidden="true"></a>
							<ul class="sub-menu">
								<li><a target="_blank" href="https://www.facebook.com/groups/1542735829308487">Bóng Nghệ Thuật</a></li>
								<li><a target="_blank" href="https://www.facebook.com/groups/875766962445670">Ảo Thuật</a></li>
								<!-- <li><a target="_blank" href="https://www.facebook.com/groups/398134453685432/">CLB HDV Miền Nam</a></li> -->
								<?php foreach ($menuServiceOther as $item) {?>
								<!-- <li><a href="<?php echo base_url()."dich-vu-khac/".$item->slug."-".$item->id ?>"><?php echo $item->name ?></a></li> -->
								<?php } ?>
							</ul>
						</li>
						<li>
							<a href="#" title="">CLB GROUP FB <span class="glyphicon glyphicon-plus mobile" aria-hidden="true"></a>
							<ul class="sub-menu">
								<li><a target="_blank" href="https://www.facebook.com/groups/1613574682196913/">CLB HDV Miền Bắc</a></li>
								<li><a target="_blank" href="https://www.facebook.com/groups/600891496678152/">CLB HDV Miền Trung</a></li>
								<li><a target="_blank" href="https://www.facebook.com/groups/398134453685432/">CLB HDV Miền Nam</a></li>
								<li><a target="_blank" href="https://www.facebook.com/groups/1515435105406742">Sale tour Online</a></li>
								<li><a target="_blank" href="https://www.facebook.com/groups/320463228091859">Group Ban Điều Hành</a></li>
								<?php foreach ($menuGroup as $item) {?>
								<!-- <li><a href="<?php echo base_url()."group/".$item->slug."-".$item->id ?>"><?php echo $item->name ?></a></li> -->
								<?php } ?>
							</ul>
						</li>
						<li>
							<a class="<?php if($segment == 'lien-he'){ echo 'active'; }?>" href="<?php echo base_url(); ?>lien-he" title="">LIÊN HỆ</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
